package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.ReporttitleDao;
import io.renren.entity.Reporttitle;
import io.renren.service.ReporttitleService;



@Service("reporttitleService")
public class ReporttitleServiceImpl implements ReporttitleService {
	@Autowired
	private ReporttitleDao reporttitleDao;
	
	@Override
	public Reporttitle queryObject(Integer id){
		return reporttitleDao.queryObject(id);
	}
	
	@Override
	public List<Reporttitle> queryList(Map<String, Object> map){
		return reporttitleDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return reporttitleDao.queryTotal(map);
	}
	
	@Override
	public void save(Reporttitle reporttitle){
		reporttitleDao.save(reporttitle);
	}
	
	@Override
	public void update(Reporttitle reporttitle){
		reporttitleDao.update(reporttitle);
	}
	
	@Override
	public void delete(Integer id){
		reporttitleDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		reporttitleDao.deleteBatch(ids);
	}
	
}
